export default {
    getUser: config => {
        const {
            name,
            pwd
        } = JSON.parse(config.body)
        if (name === "xiaoxin" && pwd === "11580") {
            return {
                code: 20000,
                msg: 'success',
                data: {
                    name,
                    pwd
                }
            }
        } else {
            return {
                code: -999,
                msg:'reject'
            }
        }
    }
}